package com.shgsh.server.model;


import java.io.Serializable;

/**
 * ①登陆 IP和port 登陆成功
 * 返回用户登录成功的标识，此时用户在IM系统的状态为在线
 * Created by pcc on 2015/8/13.
 */
public class IMUser extends BaseModel{
    /**
     * shgsh的User表的id作为改实体id的主键
     */
    private String id;
    private String username;
    /**
     * 用户在线状态 0-在线 1-离线
     */
    private String activeState;


    /**
     * 用户消息列表
     */
    private String messageIdList;
    /**
     * 用户最后登录
     */
    private String lastEnterTime;

    private String operation;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getActiveState() {
        return activeState;
    }

    public void setActiveState(String activeState) {
        this.activeState = activeState;
    }

    public String getMessageIdList() {
        return messageIdList;
    }

    public void setMessageIdList(String messageIdList) {
        this.messageIdList = messageIdList;
    }

    public String getLastEnterTime() {
        return lastEnterTime;
    }

    public void setLastEnterTime(String lastEnterTime) {
        this.lastEnterTime = lastEnterTime;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }
}
